Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add DependencySnapshot #44

Merged
merged 4 commits into from
Jun 10, 2024
Merged

Conversation

baszalmstra
Copy link
Contributor

This PR adds a DependencySnapshot type. This type can be created from anything that implements DependencyProvider. The snapshot can be serialized and later be used as a DependencyProvider. This allows capturing ecosystem-specific implementations in a single file format which makes it great for running extensive benchmarks for different ecosystems.

Creating a snapshot requires an ecosystem implementation. An example can be found in conda/rattler#741.

I also included a little tool called solve-snapshot that will solve for all package names found in a single snapshot and output timing information.

@baszalmstra baszalmstra requested a review from wolfv June 10, 2024 14:26
@baszalmstra baszalmstra changed the title feat: add DependencySnapshot feat: add DependencySnapshot Jun 10, 2024
@baszalmstra baszalmstra merged commit 7b9e911 into mamba-org:main Jun 10, 2024
3 checks passed
@baszalmstra baszalmstra deleted the feat/snapshots branch June 10, 2024 14:54
@baszalmstra baszalmstra mentioned this pull request Jun 10, 2024
@Eh2406
Copy link

Eh2406 commented Jun 13, 2024

The similar concept we have in pubgrub has been working really well for us! I hope it works well for you as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants